package com.starmark.gateway.pt.provider.command;


import com.starmark.gateway.pt.provider.service.IPtInterfaceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRunner;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;

@Component
@Order(value = 3)
public class GatewayInterfaceCommand implements CommandLineRunner {

    @Autowired
    IPtInterfaceService ptInterfaceService;


    @Override

    public void run(String... args) {
        {
            ptInterfaceService.overload();
        }

    }
}
